package com.quark.cloud.config.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.Configuration;

/**
 * 配置服务器
 * 从远程git工程获取配置文件
 * url  https://git.oschina.net/tianjiaoliuyu/spring_cloud.git
 * 文件夹  cloud-config-repo
 * */
@Configuration
@EnableConfigServer
@EnableAutoConfiguration
public class ConfigServerApplication {
    public static void main(String[] args) {
		SpringApplication.run(ConfigServerApplication.class);
	}
}
